package chapter2;

import java.util.Calendar;

public class Day0 {
    public static void main(String[] args) {
        System.out.println("今天是星期坤？");
        Calendar zhou =  Calendar.getInstance();
        int day =  zhou.get(Calendar.DAY_OF_WEEK);
        String[] weeks = {"星期日","星期一","星期二","星期三","星期四","星期五","星期六"};
        System.out.println(weeks[day-1]);
    }
}
